package com.smmisia.article.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum StatusEnum {

    NORMAL_STATUS(0, "正常"),
    UN_NORMAL_STATUS(1, "禁用");

    @EnumValue
    private final Integer code;

    private final String message;

    StatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
